<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_element": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_element": "active",
      "mediaobject": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

      <div class="component-content">
        <div class="component-content-header">
          <nav aria-label="breadcrumb">
            <ol class="breadcrumb breadcrumb-style1 mg-b-0">
              <li class="breadcrumb-item"><a href="#">Components</a></li>
              <li class="breadcrumb-item"><a href="#">UI Elements</a></li>
              <li class="breadcrumb-item active" aria-current="page">Media Object</li>
            </ol>
          </nav>
          <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
        </div><!-- component-content-header -->

        <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
          <div class="content content-components">
            <div class="container">
              <!--sd-->
              <h1 class="td-title">Media Object</h1>
        <p class="td-lead">Construct highly repetitive components like blog comments, tweets, and the like. Read the <a href="https://getbootstrap.com/docs/4.2/components/media-object/" target="_blank">Official Bootstrap Documentation</a> for a full list of instructions and other options.</p>

        <hr class="mg-y-40">

        <h4 id="section1" class="mg-b-10">Basic Example</h4>
        <p class="mg-b-30">Helps build complex and repetitive components where some media is positioned alongside content that doesn’t wrap around said media. Plus, it does this with only two required classes thanks to flexbox.</p>

        <div data-label="Example" class="td-example">
          <div class="media d-block d-sm-flex">
            <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-200 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
            <div class="media-body">
              <h5 class="mg-b-15 tx-inverse">Media heading</h5>
              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
            </div>
          </div>
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class=&quot;media&quot;&gt;
  &lt;img src=&quot;...&quot; class=&quot;wd-200 rounded mg-r-20&quot; alt=&quot;&quot;&gt;
  &lt;div class=&quot;media-body&quot;&gt;
    &lt;h5 class=&quot;mg-b-15 tx-inverse&quot;&gt;Media heading&lt;/h5&gt;
    Cras sit amet nibh libero, in gravida nulla...
  &lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section2" class="mg-b-10">Nesting</h4>
        <p class="mg-b-30">Media objects can be infinitely nested, though we suggest you stop at some point. Place nested <code>.media</code> within the <code>.media-body</code> of a parent media object.</p>

        <div data-label="Example" class="td-example">
          <div class="media d-block d-sm-flex">
            <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
            <div class="media-body">
              <h5 class="mg-b-15 tx-inverse">Media heading</h5>
              <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p>

              <div class="media d-block d-sm-flex mg-t-25">
                <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
                <div class="media-body">
                  <h5 class="mg-b-15 tx-inverse">Media heading</h5>
                  Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
                </div>
              </div>
            </div>
          </div>
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class=&quot;media&quot;&gt;
  &lt;img src=&quot;https://via.placeholder.com/640x426&quot; class=&quot;wd-100 rounded mg-r-20&quot; alt=&quot;&quot;&gt;
  &lt;div class=&quot;media-body&quot;&gt;
    &lt;h5 class=&quot;mg-b-15 tx-inverse&quot;&gt;Media heading&lt;/h5&gt;
    &lt;p&gt;Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.&lt;/p&gt;

    &lt;div class=&quot;media mg-t-25&quot;&gt;...&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section3" class="mg-b-10">Alignment</h4>
        <p class="mg-b-30">Media in a media object can be aligned with flexbox utilities to the top (default), middle, or end of your <code>.media-body</code> content.</p>

        <div data-label="Example" class="td-example">
          <div class="media d-block d-sm-flex">
            <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0 align-self-center" alt="">
            <div class="media-body">
              <h5 class="mg-b-15 tx-inverse">Media heading</h5>
              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
            </div>
          </div>
        </div><!-- td-example -->
        <div data-label="Example" class="td-example mg-t-25">
          <div class="media d-block d-sm-flex">
            <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0 align-self-end" alt="">
            <div class="media-body">
              <h5 class="mg-b-15 tx-inverse">Media heading</h5>
              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
            </div>
          </div>
        </div><!-- td-example -->
        <pre><code class="language-html">&lt;div class=&quot;media&quot;&gt;
  &lt;img src=&quot;...&quot; class=&quot;wd-200 rounded mg-r-20 align-self-center&quot; alt=&quot;&quot;&gt;
  &lt;div class=&quot;media-body&quot;&gt;...&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;media&quot;&gt;
  &lt;img src=&quot;...&quot; class=&quot;wd-200 rounded mg-r-20 align-self-end&quot; alt=&quot;&quot;&gt;
  &lt;div class=&quot;media-body&quot;&gt;...&lt;/div&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section4" class="mg-b-10">Order</h4>
        <p class="mg-b-30">Change the order of content in media objects by modifying the HTML itself, or by adding some custom flexbox CSS to set the order property (to an integer of your choosing).</p>

        <div data-label="Example" class="td-example">
          <div class="media d-block d-sm-flex">
            <div class="media-body">
              <h5 class="mg-b-15 tx-inverse">Media heading</h5>
              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
            </div>
            <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-200 rounded mg-sm-l-20 mg-t-20 mg-sm-t-0" alt="">
          </div>
        </div><!-- td-example -->

        <pre><code class="language-html">&lt;div class=&quot;media&quot;&gt;
  &lt;div class=&quot;media-body&quot;&gt;...&lt;/div&gt;
  &lt;img src=&quot;...&quot; class=&quot;wd-200 rounded mg-l-20&quot; alt=&quot;&quot;&gt;
&lt;/div&gt;</code></pre>

        <hr class="mg-t-50 mg-b-40">

        <h4 id="section5" class="mg-b-10">Media List</h4>
        <p class="mg-b-30">Because the media object has so few structural requirements, you can also use these classes on list HTML elements.</p>

        <div data-label="Example" class="td-example">
          <ul class="list-unstyled">
            <li class="media d-block d-sm-flex">
              <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
              <div class="media-body">
                <h5 class="mg-b-10 tx-inverse">Media heading</h5>
                Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
              </div>
            </li>
            <li class="media  d-block d-sm-flex mg-t-25">
              <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
              <div class="media-body">
                <h5 class="mg-b-10 tx-inverse">Media heading</h5>
                Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
              </div>
            </li>
            <li class="media  d-block d-sm-flex mg-t-25">
              <img src="https://via.placeholder.com/640x426" class="wd-100p wd-sm-100 rounded mg-sm-r-20 mg-b-20 mg-sm-b-0" alt="">
              <div class="media-body">
                <h5 class="mg-b-10 tx-inverse">Media heading</h5>
                Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
              </div>
            </li>
          </ul>
        </div><!-- td-example -->

        <pre><code class="language-html">&lt;ul class=&quot;list-unstyled&quot;&gt;
  &lt;li class=&quot;media&quot;&gt;...&lt;/li&gt;
  &lt;li class=&quot;media mg-t-25&quot;&gt;...&lt;/li&gt;
  &lt;li class=&quot;media mg-t-25&quot;&gt;...&lt;/li&gt;
&lt;/ul&gt;</code></pre>
@@include('./footer.html',{})

            </div>
          </div>
        </div><!-- component-content-body -->

        <div class="component-content-sidebar section-nav">
          <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
          <nav id="navSection" class="nav flex-column">
            <a href="#section1" class="nav-link">Basic Example</a>
            <a href="#section2" class="nav-link">Nesting</a>
            <a href="#section3" class="nav-link">Alignment</a>
            <a href="#section4" class="nav-link">Order</a>
            <a href="#section5" class="nav-link">Media List</a>
          </nav>
        </div><!-- component-content-sidebar -->
      </div><!-- component-content -->

    </div><!-- component-wrapper -->

    @@include('./_script.html',{})

  </body>
</html>
